//
//  MXCollocaSingleItemModel.m
//  MXの衣柜
//
//  Created by 马霄 on 15/8/12.
//  Copyright (c) 2015年 霄 马. All rights reserved.
//

#import "MXCollocaSingleItemModel.h"


@interface MXCollocaSingleItemModel ()

@end
@implementation MXCollocaSingleItemModel

- (void)dealloc
{
    [_coupon_price release];
    [_MXdescription release];
    [_item_id release];
    [_pic_url release];
    [_price release];
    [_title release];
    [super dealloc];
}

-(instancetype)initWithDic:(NSDictionary *)dic
{
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"description"]) {
        self.MXdescription = value;
    }

}
- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}
@end
